FIND NEXT

This command will continue a file search by locating the next file in the current working directory.

  Syntax
FIND NEXT
  Returns

This command does not return a value.

  Description

If this command succeeds, a file will be stored internally and its data can be extracted using the GET FILE NAME$(), GET FILE DATE$() and GET FILE TYPE() commands. A file search can be started with the FIND FIRST command.

  Example Code
cls
find first
repeat
printC "file name= "+get filename$()
print " file type = "+str$(get file type())
find next
until get file type()=-1
do
loop
end
  See also

FILE Commands Menu
Index